const request = function(options){
	return new Promise((resolve,reject)=>{
		uni.request({
			url:options.url,
			method:options.url ||'GET',
			success(res){
				resolve(res)
			},
			fail(err){
				reject(err)
			}
		})
	})
}
export default request;